﻿<div class="friendlinks">
    <h4>
        合作单位：</h4>
    <table id="dlstFriendlyLinks" cellspacing="0" border="0" style="border-collapse: collapse;">
        <tr>
            @{
                var loopNum = 0;
                foreach (DataRow dr in V5.Friend.Query_By("*", "", "", 0).Rows) {
                <td>
                    <a href="@(V5.Html.Out(dr["FriendUrl"]))" target="_blank">@dr["FriendTitle"]</a>
                </td>
                    loopNum++;
                    if (loopNum % 8 == 0) {
                @(V5.Html.Out("</tr><tr>"))
                    }
                }
            }
        </tr>
    </table>
</div>
